package com.ming.sevice;

import com.ming.domain.Area;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
*@Author:何元才
*@Desc:
*@data:2021-04-02 15:48
*/
public interface AreaService extends IService<Area>{

    /**
     * 根据父id查询子区域
     *
     * @param pid
     * @return
     */
    List<Area> listByPid(Long pid);
}
